package com.ruoyi.project.mydy.busiinfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 商家信息对象 dl_busi_info
 * 
 * @author mhg
 * @date 2021-10-07
 */
public class DlBusiInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 营业执照图片路径 */
    @Excel(name = "营业执照图片路径")
    private String busiLicense;

    /** 负责人手机号 */
    @Excel(name = "负责人手机号")
    private String phone;

    /** 认证状态（0-未审核，1-已审核） */
    @Excel(name = "认证状态", readConverterExp = "0=-未审核，1-已审核")
    private Long authState;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNickname(String nickname)
    {
        this.nickname = nickname;
    }

    public String getNickname()
    {
        return nickname;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setBusiLicense(String busiLicense)
    {
        this.busiLicense = busiLicense;
    }

    public String getBusiLicense()
    {
        return busiLicense;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setAuthState(Long authState)
    {
        this.authState = authState;
    }

    public Long getAuthState()
    {
        return authState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nickname", getNickname())
            .append("password", getPassword())
            .append("busiLicense", getBusiLicense())
            .append("phone", getPhone())
            .append("authState", getAuthState())
            .append("createTime", getCreateTime())
            .toString();
    }
}
